#!/bin/bash

sum ()
{
	ret=$[$1+$2]
	return $ret
}
read -p "请输入第一个参数:" n1
read -p "请输入第二个参数:" n2
sum $n1 $n2
echo $?
